﻿import java.util.*;
public class Er015 {

	public static void main(String[] args) {
		int base;
		double ga;
		double hra;
		double salary;
		
		System.out.println("请输入基本工资：");
		Scanner input = new Scanner(System.in);
		base = input.nextInt();
		ga = base * 40 / 100;
		hra = base * 25 / 100;
		salary = base + ga +hra;
		System.out.println("该员工的工资细目为：");
		System.out.println("基本工资为："+base);
		System.out.println("物价津贴为："+ga);
		System.out.println("房租津贴为："+hra);
		System.out.println("员工薪水为："+salary);
	}
}
